package me.bincker.formwork.web.modules.system.entity

import me.bincker.formwork.web.core.entity.Nameable
import me.bincker.formwork.web.core.entity.TraceableEntity
import javax.persistence.Entity
import javax.validation.constraints.NotNull

@Entity
class UserFile: TraceableEntity(), Nameable {
    override var name: String? = null

    var path: String? = null

    @NotNull
    var type: UserFileType? = null

    var suffix: String? = null

    var size: Long? = null
}